Other Functions
The following functions are available globally.
-
Returns
true
if and only if the circular arrays contain the same elements in the same logical order. The underlying elements must conform to theEquatable
protocol.Declaration
Swift
public func ==<T: Equatable>(lhs: CircularArray<T>, rhs: CircularArray<T>) -> Bool
-
Returns
true
if and only if the priority queues contain the same elements in the same order. The underlying elements must conform to theEquatable
protocol.Declaration
Swift
public func ==<U: Equatable>(lhs: PriorityQueue<U>, rhs: PriorityQueue<U>) -> Bool
-
Performs matrix and scalar addition.
Declaration
Swift
public func +=(lhs: inout Matrix<Double>, rhs: Double)
-
Performs matrix and scalar subtraction.
Declaration
Swift
public func -=(lhs: inout Matrix<Double>, rhs: Double)
-
Performs matrix and scalar multiplication.
Declaration
Swift
public func *=(lhs: inout Matrix<Double>, rhs: Double)
-
Performs matrix and scalar division.
Declaration
Swift
public func /=(lhs: inout Matrix<Double>, rhs: Double)